<!--
To change this template, choose Tools | Templates
and open the template in the editor.
<div id="pitch"></div>
-->

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
        <STYLE type="text/css"> 
            #layer1 { 

                padding: 0px 0px 0px;
            }
        </STYLE>
    </head>
    <body>

        <?php
        if (isset($_GET['pagina'])) {
            $p = $_GET['pagina'];
            ?>
            <table><tr><td>
                        <?php
                        switch ($p) {
                            case 1:include("Home.php");
                                break;
                            case 2:include("ModificarPaginas.php");
                                break;
                            case 3:include("DeportesMod.php");
                                break;
                            case 4:include("DeportistasMod.php");
                                break;
                            case 5:include("CompeticionesMod.php");
                                break;
                            case 6:include("PublicidadMod.php");
                                break;
                        }
                    }
                    ?></td></tr></table>
        <table><tr>
                <td>
                    <?php
                    if (isset($_GET['valor'])) {
                        $valor = $_GET['valor'];
                        if ($valor == "segundo") {
                            if (isset($_GET['tema'])) {
                                $tema = $_GET['tema'];

                                switch ($tema) {
                                    case 1:include("./Vistas/HomeMod.php");
                                        break;
                                    case 2:include("SobreNosotrosMod.php");
                                        break;
                                    case 3:include("NoticiasMod.php");
                                        break;
                                    case 4:include("PreguntaMod.php");
                                        break;
                                    case 5:include("./Vistas/ModificarEventos.php");
                                        break;
                                    case 6:include("InsertarDeporte.php");
                                        break;
                                    case 7:include("ModificarDeporte.php");
                                        break;
                                    case 8:include("EliminarDeporte.php");
                                        break;
                                    case 9:include("InsertarDeportista.php");
                                        break;
                                    case 10:include("ModificarDeportista.php");
                                        break;
                                    case 11:include("InsertarCompeticion.php");
                                        break;
                                    case 12:include("ModificarCompeticion.php");
                                        break;
                                }
                            }
                        }
                    }
                    ?> 


                </td>
            </tr></table>
    </body>
</html>
